package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务-L2 VPN配置-节点属性-业务接入接口参数对象 busi_l2_vpn_node_port
 * 
 * @author net
 * @date 2024-12-14
 */
public class BusiL2VpnNodePort extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** L2 VPN业务主键 */
    @Excel(name = "L2 VPN业务主键")
    @ApiModelProperty(value = "L2 VPN业务主键")
    private String l2VpnId;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /** UNI端口名称 */
    @Excel(name = "UNI端口名称")
    @ApiModelProperty(value = "UNI端口名称")
    private String uniPortName;

    /** 端口标注 */
    @Excel(name = "端口标注")
    @ApiModelProperty(value = "端口标注")
    private String terminalLabel;

    /** 接收TAG识别（不识别） */
    @Excel(name = "接收TAG识别", readConverterExp = "不=识别")
    @ApiModelProperty(value = "接收TAG识别")
    private String tag;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setL2VpnId(String l2VpnId) 
    {
        this.l2VpnId = l2VpnId;
    }

    public String getL2VpnId() 
    {
        return l2VpnId;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setUniPortName(String uniPortName) 
    {
        this.uniPortName = uniPortName;
    }

    public String getUniPortName() 
    {
        return uniPortName;
    }
    public void setTerminalLabel(String terminalLabel) 
    {
        this.terminalLabel = terminalLabel;
    }

    public String getTerminalLabel() 
    {
        return terminalLabel;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("l2VpnId", getL2VpnId())
            .append("elementId", getElementId())
            .append("uniPortName", getUniPortName())
            .append("terminalLabel", getTerminalLabel())
            .append("tag", getTag())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
